	
<template>
	<view>
		<Leave v-if="typeId =='qingjia'" ></Leave>
		<button v-if="typeId =='tuijian'" type="default">推荐</button>
	</view>
</template>

<script>
	import {doNavigatePage} from '@/js/navigatePage'
	
	import Leave from '@/pages/index/base/leave/leave'
	export default {
		name: "BasePageList",
		components:{Leave},
		props:{
			typeId: {
				type: String,
				default: null,
			},
		},
		data(){
			return {
				
			}
		},
		methods:{
			addQingJia(){
				doNavigatePage(AddLeaveUrl);
			}
		}
	}
</script>

<style>
</style>